package com.yungu.swift.common.model.dto;

import com.yungu.swift.base.model.BaseDto;

/**
 * Copyright © 厦门云谷互联信息有限公司 2018-2020 All Right Reserved
 * <p>
 * 错误消息DTO
 *
 * @author Zerrion
 * @version 1.0.0-RELEASE
 * @since 2018-07-05 11:28
 */

public class CommonErrorMessageDto extends BaseDto {

    /**
     * 从乘客端上传
     */
    public final static int UPLOAD_FROM_PASSENGER = 1;
    /**
     * 从司机端上传
     */
    public final static int UPLOAD_FROM_DRIVER = 2;

    /**
     * 报错模块
     **/
    private String errorModule;

    /**
     * 错误级别
     **/
    private String errorType;

    /**
     * 错误信息
     **/
    private String errorMsg;

    /****/
    private java.util.Date errorTime;

    /**
     * 终端id
     **/
    private String terminalId;

    /**
     * 终端版本
     **/
    private String terminalVersion;

    /**
     * 1、乘客端 2、司机端
     **/
    private Integer uploadFrom;


    public void setErrorModule(String errorModule) {
        this.errorModule = errorModule;
    }

    public String getErrorModule() {
        return this.errorModule;
    }

    public void setErrorType(String errorType) {
        this.errorType = errorType;
    }

    public String getErrorType() {
        return this.errorType;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getErrorMsg() {
        return this.errorMsg;
    }

    public void setErrorTime(java.util.Date errorTime) {
        this.errorTime = errorTime;
    }

    public java.util.Date getErrorTime() {
        return this.errorTime;
    }

    public void setTerminalId(String terminalId) {
        this.terminalId = terminalId;
    }

    public String getTerminalId() {
        return this.terminalId;
    }

    public void setTerminalVersion(String terminalVersion) {
        this.terminalVersion = terminalVersion;
    }

    public String getTerminalVersion() {
        return this.terminalVersion;
    }

    public void setUploadFrom(Integer uploadFrom) {
        this.uploadFrom = uploadFrom;
    }

    public Integer getUploadFrom() {
        return this.uploadFrom;
    }

}
